
import request from '../service/server';

export function getBannerList() {
    return request({
        method:'get',
        url:'api/banner/list'
    })
}

export function addBanner(data) {
    return request({
      method: 'post',
      url: 'api/banner/new',
      data,
    });
  }
  
  export function deleteBanner(params) {
    return request({
      method: 'post',
      url: 'api/banner/delete',
      params,
    });
  }
  
